package com.coderman.infosys.auth.domain.bo.authority;


import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;
import java.util.Map;

/**
* @Description:用户权限聚合根类
* @Author:shenshuai
* @CreateTime:2022-01-02 15:27:38
* @version v1.0
*/
@Getter
@Setter
@ToString
public class UserAuthAggregateBO {

   /**
    * 用户ID
    */
   private Long  userId;

   /**
    * 该用户有哪些角色
    */
   private List<String> roleCodeList;

   /**
    * 该用户属于哪些角色组
    */
   private List<String> roleGroupCodeList;

   /**
    * 权限聚合根对象
    */
   private AuthAggregateBO authAggregateBO;

}